Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCM-7268 | feat: Update create machinepool command to support kubeletconfigs #2045

Merged

Conversation

robpblake
Copy link
Contributor

This PR updates the rosa create machinepool command with support for the --kubelet-configs option, that allows the user to specify a list of KubeletConfig name to attach to a specific HCP MachinePool.

@openshift-ci openshift-ci bot requested review from den-rgb and gdbranco May 14, 2024 11:09
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 14, 2024
@@ -386,6 +386,44 @@ func addNodePool(cmd *cobra.Command, clusterKey string, cluster *cmv1.Cluster, r
npBuilder.TuningConfigs(inputTuningConfig...)
}

var inputKubeletConfigs []string
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have an active task on-going to refactor the create machinepool command to align with the runner model. I'm following the existing implementation at the minute to avoid do a large refactor in this PR.

Copy link

codecov bot commented May 14, 2024

Codecov Report

Attention: Patch coverage is 39.53488% with 26 lines in your changes are missing coverage. Please review.

Project coverage is 24.78%. Comparing base (95238e9) to head (65c4c3f).
Report is 3 commits behind head on master.

Files Patch % Lines
cmd/create/machinepool/nodepool.go 0.00% 26 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2045      +/-   ##
==========================================
- Coverage   25.13%   24.78%   -0.35%     
==========================================
  Files         148      148              
  Lines       21841    22338     +497     
==========================================
+ Hits         5489     5537      +48     
- Misses      15934    16382     +448     
- Partials      418      419       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@robpblake robpblake force-pushed the ocm-7268-create-machinepool branch from f059d0d to 65c4c3f Compare May 14, 2024 13:12
Copy link
Member

@ciaranRoche ciaranRoche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Copy link
Contributor

openshift-ci bot commented May 14, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ciaranRoche, robpblake

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [ciaranRoche,robpblake]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 14, 2024
Copy link
Contributor

openshift-ci bot commented May 14, 2024

@robpblake: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@openshift-merge-bot openshift-merge-bot bot merged commit 127cc35 into openshift:master May 14, 2024
11 checks passed
@robpblake robpblake deleted the ocm-7268-create-machinepool branch May 14, 2024 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants